<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<jsp:include page="../../../common/head.jsp">
			 <jsp:param name="_spPage" value="true"/>
			 <jsp:param name="_useCalendar" value="true"/>
		</jsp:include>

		<title>奖惩汇总统计</title>
		<script language="JavaScript">

			$.ready = function()
			{
				$("#otherFeeYear").val('${wfn:getDateTime("yyyy")}');
				<c:forEach items="${CodeDict}" var="obj">
					<c:if test="${obj.kindId eq '005'}">typeArray.push(["${obj.codeId}","${obj.codeName}","${obj.parentCodeId}"]);</c:if>
				</c:forEach>
				filterLevel2("005002");
			}
			var typeArray = new Array();
			function filterLevel2(lv1val)
			{
				var html="<option value=''>请选择</option>";
				for(var i=0;i<typeArray.length;i++)
				{
					if(typeArray[i][2]==lv1val)
						html+="<option value='"+typeArray[i][0]+"'>"+typeArray[i][1]+"</option>"
				}
				$("#otherFeeClasses").html(html);
			}
			function submitForm(){
				if(confirm("确认导出报表保存？"))
				{
					return true;
				}
				else
					return false;
			}
		</script>
	</head>
	<body>
	<form action="exportReportByReportEngine.do" name="form1" id="form1" method="post" target="_blank" onsubmit="return submitForm()">
	<input type="hidden" id="reportId" name="reportId" value="rewardsPunishmentTotal"/>
	<div id="body_div">
	<w:ShowTitle name="奖惩汇总统计" useSubmitKey="false">
	</w:ShowTitle>
	<div id="body_content">
			<table width="100%" border="0">
				<tr>
					<td width="120">地区</td>
					<td width="180" class="left_align">
						<w:select name="feeOtherFee.areaId" value="${feeOtherFee.areaId}">
							<w:option optionLabel="请选择" optionValue=""></w:option>
							<w:options options="${CodeDict}" optionLabel="codeName" optionValue="codeId" filterFieldName="parentCodeId" filterFieldValue="001"></w:options>
						</w:select>
					</td>
					<td width="120">责任人</td>
					<td class="left_align" width="180">
						<input type="text" id="employeeName" name="feeOtherFee.employeeName" value="${feeOtherFee.employeeName}"/>
           			</td>
           			<td></td>
				</tr>
				<tr>
					<td>奖惩类别</td>
					<td class="left_align">
              			<w:select name="otherFeeClassesLvl" styleId="otherFeeClassesLvl">
							<w:option optionLabel="惩罚" optionValue="005002"></w:option>
						</w:select>
           			</td>  
					<td>奖惩类型</td>
					<td class="left_align">
						<w:select name="feeOtherFee.otherFeeClasses" styleId="otherFeeClasses">
						</w:select>
					</td>
					<td></td>
				</tr>
				<tr>
					<td>年度</td>
					<td class="left_align">
						<select name="feeOtherFee.otherFeeYear" id="otherFeeYear"  class="selectLengthAuto">
		      				<c:forEach begin="2013" end="${wfn:getDateTime('yyyy')}" var="year">
		      					<option value="${year}">${year}</option>
		      				</c:forEach>
		      			</select>
					</td>
					<td>月份</td>
					<td class="left_align">
						<w:select name="feeOtherFee.otherFeeMonth" styleId="otherFeeMonth" styleClass="selectLengthAuto" value="${feeOtherFee.otherFeeMonth}">
							<w:option optionLabel="01" optionValue="01"></w:option>
							<w:option optionLabel="02" optionValue="02"></w:option>
							<w:option optionLabel="03" optionValue="03"></w:option>
							<w:option optionLabel="04" optionValue="04"></w:option>
							<w:option optionLabel="05" optionValue="05"></w:option>
							<w:option optionLabel="06" optionValue="06"></w:option>
							<w:option optionLabel="07" optionValue="07"></w:option>
							<w:option optionLabel="08" optionValue="08"></w:option>
							<w:option optionLabel="09" optionValue="09"></w:option>
							<w:option optionLabel="10" optionValue="10"></w:option>
							<w:option optionLabel="11" optionValue="11"></w:option>
							<w:option optionLabel="12" optionValue="12"></w:option>
						</w:select>
           			</td>  
           			<td></td>
				</tr>
				<tr>
					 <td colspan="5">
						<input name="button" type="submit" class="btn_standard" onclick="" value="查询" />
					</td>
				</tr>
			</table>

			</div>
		</div>	
		</form>
	</body>
</html>